package com.iot08.common.entity.app;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.Date;

/**
 * @version 1.0
 * @Description:
 * @time: 2020/10/23 16:28
 * @author: Rock
 */
@Data
@Document("channels")
public class Channels {
    private static final long serialVersionUID = 1L;

    @Id
    private String id;

    private String name;

    @Field("short_name")
    private String shortName;

    private String channelid;

    @Field("ios_version")
    private String iosVersion;

    @Field("update_description")
    private String updateDescription;

    private String url;

    @Field("version_code")
    private String versionCode;

    private String version;

    @Field("ios_url")
    private String iosUrl;

    @Field("android_content")
    private String androidContent;

    @Field("ios_content")
    private String iosContent;

    private Integer status;

    private String creater;

    private Date createtime;

    private Date modifytime;

}
